package org.moonlight.jvm.instructions.loads.iload;

import org.moonlight.jvm.instructions.base.NoOperandsInstruction;
import org.moonlight.jvm.rtda.exclusive.Frame;

/**
 * ILOAD_3: 根据索引下标 3, 从 局部变量表 获取 int型变量，然后推入操作数栈顶
 *          其索引隐含在操作码中
 *
 * @author Moonlight
 * @createTime 2023/8/16 15:07
 **/
public class ILoad3 extends NoOperandsInstruction {
    @Override
    public void execute(Frame frame) {
        ILoad.iLoadN(frame, 3);
    }
}
